package com.compute.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Service;

import java.io.Serializable;

/**
 * @author 李天航
 * 用户信息
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Service
public class User implements Serializable {
    private String userAccount;
    private String userPwd;
    private String userSex;
    private String userBirthday;
    private String userCity;

    public User(String account, String pwd) {
        this();
        this.userAccount=account;
        this.userPwd=pwd;
    }
}
